home *** CD-ROM | disk | FTP | other *** search
/ MACD 5 (Alt) / MACD 5.bin / workbench / libs / script.lzh / script_0.4 / script_inline.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-12-17  |  1.5 KB  |  47 lines

  1. /* Automatically generated header! Do not edit! */
  2.  
  3. #ifndef _INLINE_SCRIPT_H
  4. #define _INLINE_SCRIPT_H
  5.  
  6. #ifndef __INLINE_MACROS_H
  7. #include <inline/macros.h>
  8. #endif /* !__INLINE_MACROS_H */
  9.  
  10. #ifndef SCRIPT_BASE_NAME
  11. #define SCRIPT_BASE_NAME ScriptBase
  12. #endif /* !SCRIPT_BASE_NAME */
  13.  
  14. #define Script_AllocContext() \
  15.     LP0(0x2a, struct ScriptContext *, Script_AllocContext, \
  16.     , SCRIPT_BASE_NAME)
  17.  
  18. #define Script_FreeContext(sc) \
  19.     LP1NR(0x30, Script_FreeContext, struct ScriptContext *, sc, a0, \
  20.     , SCRIPT_BASE_NAME)
  21.  
  22. #define Script_GetMsgContext(msg) \
  23.     LP1(0x3c, struct ScriptContext *, Script_GetMsgContext, struct RexxMsg *, msg, a0, \
  24.     , SCRIPT_BASE_NAME)
  25.  
  26. #define Script_GetRexxVar(msg, name, value) \
  27.     LP3(0x24, LONG, Script_GetRexxVar, struct RexxMsg *, msg, a0, char *, name, a1, char **, value, a2, \
  28.     , SCRIPT_BASE_NAME)
  29.  
  30. #define Script_GetStringVar(sc, name, value) \
  31.     LP3(0x48, LONG, Script_GetStringVar, struct ScriptContext *, sc, a0, char *, name, a1, char **, value, a2, \
  32.     , SCRIPT_BASE_NAME)
  33.  
  34. #define Script_SetMsgContext(msg, sc) \
  35.     LP2NR(0x36, Script_SetMsgContext, struct RexxMsg *, msg, a0, struct ScriptContext *, sc, a1, \
  36.     , SCRIPT_BASE_NAME)
  37.  
  38. #define Script_SetRexxVar(msg, name, value) \
  39.     LP3(0x1e, LONG, Script_SetRexxVar, struct RexxMsg *, msg, a0, char *, name, a1, char *, value, a2, \
  40.     , SCRIPT_BASE_NAME)
  41.  
  42. #define Script_SetStringVar(sc, name, value) \
  43.     LP3(0x42, LONG, Script_SetStringVar, struct ScriptContext *, sc, a0, char *, name, a1, char *, value, a2, \
  44.     , SCRIPT_BASE_NAME)
  45.  
  46. #endif /* !_INLINE_SCRIPT_H */
  47.